[INFO] cloning repository https://github.com/teddy-otieno/backuptool
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/teddy-otieno/backuptool" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fteddy-otieno%2Fbackuptool", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fteddy-otieno%2Fbackuptool'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4c0259b4a501aa393cdacf42914e454cc2c65d78
[INFO] checking teddy-otieno/backuptool against master#82310651b93a594a3fd69015e1562186a080d94c for pr-145770
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fteddy-otieno%2Fbackuptool" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/teddy-otieno/backuptool
[INFO] finished tweaking git repo https://github.com/teddy-otieno/backuptool
[INFO] tweaked toml for git repo https://github.com/teddy-otieno/backuptool written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/teddy-otieno/backuptool on toolchain 82310651b93a594a3fd69015e1562186a080d94c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/teddy-otieno/backuptool already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded zip v0.5.13
[INFO] [stderr]   Downloaded syn v1.0.65
[INFO] [stderr]   Downloaded libc v0.2.112
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] bacbd73d17c3cd48324101306a3ca03f459cf95a8ecced5dbcfd82d9ecb3fd74
[INFO] running `Command { std: "docker" "start" "-a" "bacbd73d17c3cd48324101306a3ca03f459cf95a8ecced5dbcfd82d9ecb3fd74", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bacbd73d17c3cd48324101306a3ca03f459cf95a8ecced5dbcfd82d9ecb3fd74", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bacbd73d17c3cd48324101306a3ca03f459cf95a8ecced5dbcfd82d9ecb3fd74", kill_on_drop: false }`
[INFO] [stdout] bacbd73d17c3cd48324101306a3ca03f459cf95a8ecced5dbcfd82d9ecb3fd74
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f5537b92b5352c7858fe16309c413f76b7668761d952e5bcf5f3d40402750ce1
[INFO] running `Command { std: "docker" "start" "-a" "f5537b92b5352c7858fe16309c413f76b7668761d952e5bcf5f3d40402750ce1", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.36
[INFO] [stderr]    Compiling libc v0.2.112
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling cc v1.0.72
[INFO] [stderr]    Compiling syn v1.0.65
[INFO] [stderr]    Compiling pkg-config v0.3.24
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling crc32fast v1.3.0
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]     Checking adler v1.0.2
[INFO] [stderr]     Checking same-file v1.0.6
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]     Checking walkdir v2.3.2
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]    Compiling bzip2-sys v0.1.11+1.0.8
[INFO] [stderr]    Compiling quote v1.0.14
[INFO] [stderr]     Checking time v0.1.43
[INFO] [stderr]     Checking flate2 v1.0.22
[INFO] [stderr]     Checking bzip2 v0.4.3
[INFO] [stderr]    Compiling thiserror-impl v1.0.30
[INFO] [stderr]     Checking thiserror v1.0.30
[INFO] [stderr]     Checking zip v0.5.13
[INFO] [stderr]     Checking backuptool v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::ffi::OsStr`
[INFO] [stdout]  --> src/core.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ffi::OsStr;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Component`
[INFO] [stdout]  --> src/core.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::path::Component;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]    --> src/core.rs:168:9
[INFO] [stdout]     |
[INFO] [stdout] 168 |     use std::path::Path;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `WORKSPACE_LABEL` is never used
[INFO] [stdout]   --> src/core.rs:16:7
[INFO] [stdout]    |
[INFO] [stdout] 16 | const WORKSPACE_LABEL: &str = "workspace";
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ffi::OsStr`
[INFO] [stdout]  --> src/core.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ffi::OsStr;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Component`
[INFO] [stdout]  --> src/core.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::path::Component;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Workspace` and `create_directories_for_extraction`
[INFO] [stdout]    --> src/core.rs:167:17
[INFO] [stdout]     |
[INFO] [stdout] 167 |     use super::{Workspace, create_directories_for_extraction};
[INFO] [stdout]     |                 ^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]    --> src/core.rs:168:9
[INFO] [stdout]     |
[INFO] [stdout] 168 |     use std::path::Path;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `WORKSPACE_LABEL` is never used
[INFO] [stdout]   --> src/core.rs:16:7
[INFO] [stdout]    |
[INFO] [stdout] 16 | const WORKSPACE_LABEL: &str = "workspace";
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `file_bytes` is never used
[INFO] [stdout]   --> src/core.rs:18:4
[INFO] [stdout]    |
[INFO] [stdout] 18 | fn file_bytes(f: File) -> Vec<u8> {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `convert_path_to_relative` is never used
[INFO] [stdout]   --> src/core.rs:24:4
[INFO] [stdout]    |
[INFO] [stdout] 24 | fn convert_path_to_relative(parent_path: &String, absolute_path: &Path) -> String {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `crawl_directory_and_append_to_archive` is never used
[INFO] [stdout]   --> src/core.rs:30:4
[INFO] [stdout]    |
[INFO] [stdout] 30 | fn crawl_directory_and_append_to_archive(
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_directories_for_extraction` is never used
[INFO] [stdout]   --> src/core.rs:67:4
[INFO] [stdout]    |
[INFO] [stdout] 67 | fn create_directories_for_extraction(
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Workspace` is never constructed
[INFO] [stdout]   --> src/core.rs:99:8
[INFO] [stdout]    |
[INFO] [stdout] 99 | struct Workspace {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `archive`, and `unarchive` are never used
[INFO] [stdout]    --> src/core.rs:107:9
[INFO] [stdout]     |
[INFO] [stdout] 106 | impl Workspace {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout] 107 |     pub fn new(path: String, path_to_backup: String, extraction_path: String) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 115 |     pub fn archive(&self) -> ZipResult<()> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 131 |     pub fn unarchive(&self) -> ZipResult<()> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.10s
[INFO] running `Command { std: "docker" "inspect" "f5537b92b5352c7858fe16309c413f76b7668761d952e5bcf5f3d40402750ce1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f5537b92b5352c7858fe16309c413f76b7668761d952e5bcf5f3d40402750ce1", kill_on_drop: false }`
[INFO] [stdout] f5537b92b5352c7858fe16309c413f76b7668761d952e5bcf5f3d40402750ce1
